package com.spring.cloud.client.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.spring.cloud.client.service.ConsumerClient;

@RestController
public class ConsumerController {

	@Autowired
	ConsumerClient consumerClient;

	@GetMapping("/add")
	public Integer name( ) {
		return consumerClient.add(90, 1);
	}
}
